//
//  UIStroyboard+extension.swift
//  HMWeibo06
//
//  Created by apple on 15/5/15.
//  Copyright (c) 2015年 heima. All rights reserved.
//

import UIKit

extension UIStoryboard {
    
    /// 返回 Stroyboard 的初始控制器
    class func initialViewController(name: String) -> UIViewController {
        let sb = UIStoryboard(name: name, bundle: nil)
        return sb.instantiateInitialViewController() as! UIViewController
    }
}
